package cn.school.classManage.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_school_class")
public class SchoolClassVO extends BaseVO {

    //班级ID
    private Long id;


    private static final long serialVersionUID = -100131358219783735L;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "班主任用户ID")
    private String classTeacherId;

    @ApiModelProperty(value = "助理老师用户ID")
    private String assistantTeacharId;

    @ApiModelProperty(value = "班级类型")
    private String classType;

    @ApiModelProperty(value = "启用状态：0->禁用；1->启用")
    private String status;

    @ApiModelProperty(value = "班级所属部门")
    private String classDept;

    @ApiModelProperty(value = "学期")
    private String semester;

    @ApiModelProperty(value = "专业")
    private String classSubject;

    @ApiModelProperty(value = "是否毕业")
    private String isGraduation;

    @ApiModelProperty(value = "年级")
    private String classGrade;

    @ApiModelProperty(value = "当前登录用户ID")
    @TableField(exist = false)
    private Long loginUserId;

    @ApiModelProperty(value = "班级人数")
    @TableField(exist = false)
    private Integer personCount;

    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String openId;

    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();

}
